home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / OpenGL / glflush.z / glflush
Encoding:
Text File  |  2001-04-17  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllFFFFlllluuuusssshhhh((((3333GGGG))))                    OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                    ggggllllFFFFlllluuuusssshhhh((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllFFFFlllluuuusssshhhh - force execution of GL commands in finite time
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      void ggggllllFFFFlllluuuusssshhhh( void )
  14.  
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Different GL implementations buffer commands in several different
  18.      locations, including network buffers and the graphics accelerator itself.
  19.      ggggllllFFFFlllluuuusssshhhh empties all of these buffers, causing all issued commands to be
  20.      executed as quickly as they are accepted by the actual rendering engine.
  21.      Though this execution may not be completed in any particular time period,
  22.      it does complete in finite time.
  23.  
  24.      Because any GL program might be executed over a network, or on an
  25.      accelerator that buffers commands, all programs should call ggggllllFFFFlllluuuusssshhhh
  26.      whenever they count on having all of their previously issued commands
  27.      completed.  For example, call ggggllllFFFFlllluuuusssshhhh before waiting for user input that
  28.      depends on the generated image.
  29.  
  30. NNNNOOOOTTTTEEEESSSS
  31.      ggggllllFFFFlllluuuusssshhhh can return at any time.  It does not wait until the execution of
  32.      all previously issued GL commands is complete.
  33.  
  34. EEEERRRRRRRROOOORRRRSSSS
  35.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllFFFFlllluuuusssshhhh is executed between the
  36.      execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd.
  37.  
  38.  
  39. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  40.      ggggllllFFFFiiiinnnniiiisssshhhh
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.